package com.design.cjm.behavioral.observer.example;

/**
 * @Author: Jie Ming Chen
 * @Date: 2018/9/24
 * @Version 1.0
 */
public class StockObserver extends Observer{

    public StockObserver(String name, Subject sub) {
        super(name, sub);
    }

    @Override
    public void update() {

        System.out.println(name);
    }
}
